c4c578f7eeb2f39c61afedf68ff0aca508724523,android/src/com/google/zxing/client/android/share/BookmarkAdapter.java,BookmarkAdapter,getView,#number#View#ViewGroup#,64

Before Change


    }

    if (!cursor.isClosed()) {
      cursor.moveToPosition(index);
      CharSequence title = cursor.getString(BookmarkPickerActivity.TITLE_COLUMN);
      ((TextView) layout.findViewById(R.id.bookmark_title)).setText(title);
      CharSequence url = cursor.getString(BookmarkPickerActivity.URL_COLUMN);

After Change


      LayoutInflater factory = LayoutInflater.from(context);
      layout = factory.inflate(R.layout.bookmark_picker_list_item, viewGroup, false);
    }
    String[] titleURL = titleURLs.get(index);
    ((TextView) layout.findViewById(R.id.bookmark_title)).setText(titleURL[0]);
    ((TextView) layout.findViewById(R.id.bookmark_url)).setText(titleURL[1]);
    return layout;